<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <form th:action="update" method="post">
        <input type="hidden" name="eid" th:value="*{emp.eid}">
        姓名：
        <input type="text" name="ename" th:value="*{emp.ename}"><br>
        性别：
        <input type="radio" name="sex" th:if="*{emp.sex=='男'}"checked th:value="男">男
        <input type="radio" name="sex" th:if="*{emp.sex=='女'}"checked th:value="女">女<br>
        地址：
        <input type="text" name="address" th:value="*{emp.address}"><br>
        生日：
        <input type="date" name="birthday" th:value="*{emp.birthday}"><br>

        <input type="submit" value="提交">
    </form>
</body>
</html>